<?php
namespace Andorra\drivers;

use Andorra\dao\Entity;
use Andorra\dao\EntityType;

abstract class DataDriver {
	public abstract function __construct(\DOMElement $node);
	public abstract function __destruct();
	
	public abstract function getEntities(EntityType $e);
	public abstract function getEntityById(EntityType $e, $id);
	public abstract function getMaxId(EntityType $e);
	
	public abstract function putEntity(Entity $e);
}